package com.shareach.service;

import java.util.List;

import org.springframework.data.domain.Page;

import com.shareach.common.BaseQueryOrder;
import com.shareach.domain.BaseCityDomain;

public interface BaseCityService {
	// add
	void save(BaseCityDomain domain);

	// del

	void del(BaseCityDomain domain);

	// update
	void update(BaseCityDomain domain);

	// update by domain
	void update(BaseCityDomain domain, BaseCityDomain condition);

	// get by id
	BaseCityDomain getById(Long code);

	// get list
	List<BaseCityDomain> getList(BaseCityDomain domain);

	// load all
	List<BaseCityDomain> findAll();

	// load page
	Page<BaseCityDomain> getPageResult(BaseCityDomain domain, BaseQueryOrder order);

}
